#!/bin/bash

npm run build
echo "编译完成"

rm -rf /usr/share/nginx/front/*
cp -r /root/coin-exchange/05_Web_Front/dist/. /usr/share/nginx/front/

nginx -s reload
echo "部署启完成"
